package com.example.appfighter.modalidade;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

import com.example.appfighter.R;

public class ModalidadeActivity extends Activity {

	Button btnKick, btnMuay;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_modalidade);
		btnKick = (Button) findViewById(R.id.btnKickboxing);
		btnMuay = (Button) findViewById(R.id.btnMuaytai);

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {

		return true;
	}

	public void exibirDetalhe(View v) {
		if (v.getId() == R.id.btnKickboxing) {
			Intent k = new Intent(this, DetalheKickboxingActivity.class);
			startActivity(k);
		}
		if (v.getId() == R.id.btnMuaytai) {
			Intent m = new Intent(this, DetalheMuayTaiActivity.class);
			startActivity(m);
		}

	}

}
